<div class="languages view">
<h2><?php echo __('Language'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($language['Language']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Name'); ?></dt>
		<dd>
			<?php echo h($language['Language']['name']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Icon Url'); ?></dt>
		<dd>
			<?php echo h($language['Language']['icon_url']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Language'), array('action' => 'edit', $language['Language']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Language'), array('action' => 'delete', $language['Language']['id']), null, __('Are you sure you want to delete # %s?', $language['Language']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Languages'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Language'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Company Setting Details'), array('controller' => 'company_setting_details', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Company Setting Detail'), array('controller' => 'company_setting_details', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Menus'), array('controller' => 'menus', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Menu'), array('controller' => 'menus', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Post Contents'), array('controller' => 'post_contents', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Post Content'), array('controller' => 'post_contents', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Slider Details'), array('controller' => 'slider_details', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Slider Detail'), array('controller' => 'slider_details', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Company Setting Details'); ?></h3>
	<?php if (!empty($language['CompanySettingDetail'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Value'); ?></th>
		<th><?php echo __('Language Id'); ?></th>
		<th><?php echo __('Company Setting Id'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($language['CompanySettingDetail'] as $companySettingDetail): ?>
		<tr>
			<td><?php echo $companySettingDetail['id']; ?></td>
			<td><?php echo $companySettingDetail['value']; ?></td>
			<td><?php echo $companySettingDetail['language_id']; ?></td>
			<td><?php echo $companySettingDetail['company_setting_id']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'company_setting_details', 'action' => 'view', $companySettingDetail['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'company_setting_details', 'action' => 'edit', $companySettingDetail['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'company_setting_details', 'action' => 'delete', $companySettingDetail['id']), null, __('Are you sure you want to delete # %s?', $companySettingDetail['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Company Setting Detail'), array('controller' => 'company_setting_details', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Menus'); ?></h3>
	<?php if (!empty($language['Menu'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Name'); ?></th>
		<th><?php echo __('Rank'); ?></th>
		<th><?php echo __('Link To'); ?></th>
		<th><?php echo __('Icon Url'); ?></th>
		<th><?php echo __('Parent Id'); ?></th>
		<th><?php echo __('Language Id'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($language['Menu'] as $menu): ?>
		<tr>
			<td><?php echo $menu['id']; ?></td>
			<td><?php echo $menu['name']; ?></td>
			<td><?php echo $menu['rank']; ?></td>
			<td><?php echo $menu['link_to']; ?></td>
			<td><?php echo $menu['icon_url']; ?></td>
			<td><?php echo $menu['parent_id']; ?></td>
			<td><?php echo $menu['language_id']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'menus', 'action' => 'view', $menu['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'menus', 'action' => 'edit', $menu['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'menus', 'action' => 'delete', $menu['id']), null, __('Are you sure you want to delete # %s?', $menu['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Menu'), array('controller' => 'menus', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Post Contents'); ?></h3>
	<?php if (!empty($language['PostContent'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Title'); ?></th>
		<th><?php echo __('Short Description'); ?></th>
		<th><?php echo __('Content'); ?></th>
		<th><?php echo __('Language Id'); ?></th>
		<th><?php echo __('Seo Keyword'); ?></th>
		<th><?php echo __('H1'); ?></th>
		<th><?php echo __('Tw Short Link'); ?></th>
		<th><?php echo __('Post Id'); ?></th>
		<th><?php echo __('Seo Url'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($language['PostContent'] as $postContent): ?>
		<tr>
			<td><?php echo $postContent['id']; ?></td>
			<td><?php echo $postContent['title']; ?></td>
			<td><?php echo $postContent['short_description']; ?></td>
			<td><?php echo $postContent['content']; ?></td>
			<td><?php echo $postContent['language_id']; ?></td>
			<td><?php echo $postContent['seo_keyword']; ?></td>
			<td><?php echo $postContent['h1']; ?></td>
			<td><?php echo $postContent['tw_short_link']; ?></td>
			<td><?php echo $postContent['post_id']; ?></td>
			<td><?php echo $postContent['seo_url']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'post_contents', 'action' => 'view', $postContent['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'post_contents', 'action' => 'edit', $postContent['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'post_contents', 'action' => 'delete', $postContent['id']), null, __('Are you sure you want to delete # %s?', $postContent['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Post Content'), array('controller' => 'post_contents', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Slider Details'); ?></h3>
	<?php if (!empty($language['SliderDetail'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Rank'); ?></th>
		<th><?php echo __('Image Url'); ?></th>
		<th><?php echo __('Slider Id'); ?></th>
		<th><?php echo __('Content'); ?></th>
		<th><?php echo __('Language Id'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($language['SliderDetail'] as $sliderDetail): ?>
		<tr>
			<td><?php echo $sliderDetail['id']; ?></td>
			<td><?php echo $sliderDetail['rank']; ?></td>
			<td><?php echo $sliderDetail['image_url']; ?></td>
			<td><?php echo $sliderDetail['slider_id']; ?></td>
			<td><?php echo $sliderDetail['content']; ?></td>
			<td><?php echo $sliderDetail['language_id']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'slider_details', 'action' => 'view', $sliderDetail['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'slider_details', 'action' => 'edit', $sliderDetail['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'slider_details', 'action' => 'delete', $sliderDetail['id']), null, __('Are you sure you want to delete # %s?', $sliderDetail['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Slider Detail'), array('controller' => 'slider_details', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
